<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="Sproutcore Test"
        description="Test to see if sproutcore and opensocial work together"
        author="Johannes Fahrenkrug"
        author_link="http://springenwerk.com"
        height="300">
    <Require feature="opensocial-0.7"/>
  </ModulePrefs>
  <Content type="html">
    <![CDATA[
      
            <style type="text/css">@import url('http://opensocial-friendscolor.googlecode.com/svn/trunk/sproutcoretest/sproutcore/en/stylesheet.css');</style>
  <style type="text/css">@import url('http://opensocial-friendscolor.googlecode.com/svn/trunk/sproutcoretest/sptest1/en/stylesheet.css');</style>
      

      
<div class="sc-theme focus">
    <!-- Main Page Body -->
    testwest
<div class="sc-welcome">
  <img class="logo" src="http://opensocial-friendscolor.googlecode.com/svn/trunk/sproutcoretest/sproutcore/en/images/sproutcore-logo.png" />
  <div class="message">
    <a id="clock_checkbox" class="sc-button-view button checkbox normal sc-checkbox-view clock_checkbox"><img class="button" src="http://opensocial-friendscolor.googlecode.com/svn/trunk/sproutcoretest/sproutcore/en/blank.gif" /><span class="label">Show Clock</span></a>
    <h1 id="my_label" class="sc-label-view my_label"></h1>
  </div>
</div>

</div>

    <!-- Resources to be removed from DOM on page load -->
    <div id="resources" style="display:none; visibility: hidden;">
          </div>

    <!-- Include Site Javascript -->
      <script type="text/javascript" src="http://opensocial-friendscolor.googlecode.com/svn/trunk/sproutcoretest/prototype/en/javascript.js"></script>
  <script type="text/javascript" src="http://opensocial-friendscolor.googlecode.com/svn/trunk/sproutcoretest/sproutcore/en/javascript.js"></script>
  <script type="text/javascript" src="http://opensocial-friendscolor.googlecode.com/svn/trunk/sproutcoretest/sptest1/en/javascript.js"></script>
<script type="text/javascript">String.preferredLanguage = "en";</script>


<!-- Render Page Views -->
<script type="text/javascript">
SC.page = SC.Page.create({
  clockCheckbox: SC.CheckboxView.extend({
    valueBinding: "Sptest1.appController.isClockShowing",
    
    theme: "checkbox"
  }).outletFor("#clock_checkbox") ,

  myLabel: SC.LabelView.extend({
    valueBinding: "Sptest1.appController.greeting",
    
    localize: false,
    escapeHTML: true
  }).outletFor("#my_label") 
}); 
</script>

    <!-- Start SproutCore on Page Load -->
    <script type="text/javascript">gadgets.util.registerOnLoadHandler(SC.didLoad);</script>

    ]]>
  </Content>
</Module>

